package com.yingsheng.bi.hks.dto.mine;

import com.yingsheng.bi.hks.dto.HksTransReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 发票新增
 */
@ApiModel(value = "发票新增添加请求体")
@EqualsAndHashCode(callSuper = true)
@Data
public class InvoicesAddReq extends HksTransReq {

    @ApiModelProperty(value = "发票编号")
    @NotBlank
    private String invoiceNumber;

    @ApiModelProperty(value = "发票日期")
    @NotBlank
    private String invoiceDate;

    @ApiModelProperty(value = "客户名称")
    @NotBlank
    private String userName;

    @ApiModelProperty(value = "客户ID")
    @NotBlank
    private String userId;

    @ApiModelProperty(value = "总价")
    @NotBlank
    private String totalAmount;

    @ApiModelProperty(value = "描述")
    @NotBlank
    private String description;

    @ApiModelProperty(value = "发票地址")
    @NotBlank
    private String images;

}
